﻿using D.Medicalcare.ErrorCode;
using D.Medicalcare.Read.API.Dtos;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.RegistrationCommand
{
    /// <summary>
    /// 根据就诊人Id和挂号Id查询挂号信息（预约挂号记录）
    /// </summary>
    public class GetRegistrationPatientsCommand : IRequest<APIResult<List<RegistrationDTO>>>
    {
        /// <summary>
        /// 就诊人
        /// </summary>
        public int? PatientId { get; set; }
        /// <summary>
        /// 挂号Id
        /// </summary>
        public int? RegistrationId { get; set; }
    }
}
